package org.lendoo.web.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * Goods的vo类
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "GoodsVo", description = "Goods的vo类")
public class GoodsVo {
    @ApiModelProperty(value = "主键", dataType = "Integer")
    private Integer id;

    @ApiModelProperty(value = "category表的id", dataType = "Integer")
    private Integer categoryId;

    @ApiModelProperty(value = "goods_image表的id", dataType = "Integer")
    private Integer avatarGoodsImageId;

    @ApiModelProperty(value = "是否是热门商品，1表示是热门商品，2表示否", dataType = "Integer")
    private Integer hot;

    @ApiModelProperty(value = "名称", dataType = "String")
    private String title;

    @ApiModelProperty(value = "价格", dataType = "Double")
    private Double price;

    @ApiModelProperty(value = "已销售数量", dataType = "Integer")
    private Integer soldAmount;

    @ApiModelProperty(value = "页数", dataType = "Integer")
    private Integer pageNo;

    @ApiModelProperty(value = "每页数量", dataType = "Integer")
    private Integer pageSize;
}